home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
sf2pk200.zip
/
2PK.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-04-15
|
1KB
|
38 lines
@echo off
echo off
:%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
: This batch file uses SFPtoPK to convert HP softfonts into TeX PK
: files (and their associated TFM files).
:
: %1 ==> the name of the HP softfont to convert (without path or
: extension)
: %2 ==> the name of the TeX PK and TFM files (without path or
: extension), for example:
:
: 2PK cen10 cen10
: 2PK ame12 ame12 /XAdj:-5 /SpaceChar:32
: 2PK trr14e1a tr10e1
:
: Note: 1) the lines below assume that SFPTOPK.EXE and PLTOTF.EXE are
: in the path (or the current directory), you can add paths
: if that is appropriate.
:
: 2) you should change D:\FONTS to reflect the place where you
: keep HP softfonts, F:\OTHERTFM to reflect where you keep
: TeX TFM files, and F:\OTHERFNT to reflect where you keep
: TeX PK files.
:%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
:
if (%1) == () goto abort
sfptopk D:\FONTS\%1 F:\OTHERFNT\%2 .\%2 %3 %4 %5 %6 %7 %8 %9
if errorlevel 1 goto end
pltotf .\%2 F:\OTHERTFM\%2
del %2.PL
goto end
:abort
Echo Usage: 2PK sfpfile pkfile
Echo e.g.: 2PK trr14usa tr10us
Echo to convert TRR14USA.SFP
:end